<template>
  <div class="Find-box">
    <div class="boxs">
      <h2>发现</h2>
      <div>
        <span>

          <img
            src="../news/magimg/tongx.png"
            alt=""
          >

        </span>
        <span class="popup">
          <img src="../news/magimg/tianjia.png">
        </span>
      </div>
    </div>

    <!-- 内容 -->

    <div class="cont">
      <router-link to="py">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p1.png"
              alt=""
            >
            <h3>朋友圈</h3>
          </div>
          <div class="rig">
            <span class="s-lef">1</span>
            <!-- <span class="s-rig" name="chat-o" size="40" > -->
            <van-icon
              name="arrow"
              size="20"
              color="white"
            />
          </div>
        </div>
      </router-link>

      <!-- -- -->
      <router-link to="song">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p2.png"
              alt=""
            >
            <h3>好声音</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>

      <!-- --- -->
      <router-link to="/home/jt">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p3.png"
              alt=""
            >
            <h3>教堂</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>
      <!-- -- -->
      <router-link to="league">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p4.png"
              alt=""
            >
            <h3>联盟</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>
      <!-- --- -->
      <router-link to="farte">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p5.png"
              alt=""
            >
            <h3>师徒</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>
      <!-- -- -->
      <router-link to="shop">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p6.png"
              alt=""
            >
            <h3>商城</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>
      <!-- --- -->
      <router-link to="rarity">
        <div class="list">
          <div class="lef">
            <img
              src="../../assets/img/find/p7.png"
              alt=""
            >
            <h3>夺宝</h3>
          </div>
          <div class="rig">

          </div>
        </div>
      </router-link>
      <!-- -- -->
<router-view></router-view>
    </div>
    
  </div>
</template>

<script>
/* import { Icon } from 'vant';

Vue.use(Icon); */
export default {};
</script>

<style lang="scss" scoped>
.Find-box {
  color: white;
  .boxs {
    width: 90%;
    height: 54px;
    margin: 0 auto;
    margin-top: 30px;
    // background-color: rgb(209, 138, 46);
    display: flex;
    justify-content: space-between;
    h2 {
      line-height: 54px;
      font-size: 44px;
    }
    div {
      display: flex;
      align-items: center;
      vertical-align: middle;
      .popup {
        background-color: black;
      }
      span {
        // height: 100%;
        display: inline-block;
        width: 33px;
        height: 33px;
        // line-height: 33px;
        margin: 0 10px;
        img {
          vertical-align: middle;
          width: 33px;
          height: 33px;
          //   margin: 0  10px;
        }
      }
    }
  }
  .cont {
    width: 90%;
    margin: 0 auto;
    .list {
      width: 100%;
      height: 120px;
      margin: 15px 0;
      border-radius: 55px;
      background-color: #262729;
      display: flex;
      justify-content: space-around;
      align-items: center;
      img {
        width: 65px;
        height: 65px;
        // display: inline-block;
      }
      .lef {
        width: 65%;
        height: 65px;
        display: flex;
        //    justify-content: ;
        // background-color: bisque;
        h3 {
          // display: inline-block;
          font-size: 30px;
          line-height: 65px;
          margin-left: 20px;
          color: white;
        }
      }
      .rig {
        width: 25%;
        height: 65px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        .s-lef {
          width: 28px;
          height: 28px;
          border-radius: 50%;
          background-color: red;
          text-align: center;
          line-height: 28px;
          font-size: 20px;
        }
      }
    }
  }
}
</style>
